@(message: String,seq:Seq[(String,String)])(implicit request: RequestHeader,session:Session)
@import views.html.dingtalk.ionicmain

@import helper._

@ionicmain(message,scripts=js) {
<ion-header>
    <ion-toolbar>
        <ion-buttons slot="start">
            <ion-menu-button></ion-menu-button>
        </ion-buttons>
        <ion-title>@message</ion-title>
    </ion-toolbar>
</ion-header>
<ion-content class="ion-padding">


<div >
    <div style=" height:22px;"></div>
    <div class="site-text site-block">
        <div class="layui-border-box">

            <div class="layui-row layui-col-space2">

                <form class="layui-form" action="">
                    @CSRF.formField
                    <div class="layui-col-md3">
                        <label class="layui-form-label">仓库</label>
                        <div class="layui-input-block">
                            <select name="stock" lay-verify="">
                                <option value="">全部</option>
                                @for(s<-seq){
                                <option value='@s._1'>@s._2</option>
                                }
                            </select>
                        </div>
                    </div>
                    <div class="layui-col-md4">
                        <label class="layui-form-label">物料编码</label>
                        <div class="layui-input-block">
                            <input type="text" name="item" value='' class="layui-input" >
                        </div>
                    </div>

                    <div class="layui-col-md3">
                        <div class="layui-input-block">
                            <button class="layui-btn" lay-submit lay-filter="jsonFormSubmit">立即提交</button>
                            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                        </div>
                    </div>
                </form>
            </div>
            <table id="demoTable" lay-filter="test"></table>

        </div>

    </div>


</div>
<div class="layui-border-box" style=" height:162px;">


</div>
</ion-content>

}
@js = {
<script src='@routes.Assets.versioned("js/layui_kis_storenow.js")' type="text/javascript"></script>
}
